home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / time / convertclock < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.0 KB  |  21 lines

  1.  
  2.  
  3.           convertclock dateString [GMT|{}] [baseClock]
  4.                Convert dateString to an integer clock value (see
  5.                getclock).  This command can parse and convert
  6.                virtually any standard date and/or time string, which
  7.                can include standard time zone mnemonics.  If only a
  8.                time is specified, the current date is assumed.  If the
  9.                string does not contain a time zone mnemonic, the local
  10.                time zone is assumed, unless the GMT argument is
  11.                specified, in which case the clock value is calculated
  12.                assuming that the specified time is relative to
  13.                Greenwich Mean Time.  If baseClock is specified, it is
  14.                taken as the current clock value.  This is useful for
  15.                determining the time on a specific day.  Some examples
  16.                are:
  17.  
  18.                    convertclock "14 Feb 92"
  19.                    convertclock "Feb 14, 1992 12:20 PM PST"
  20.                    convertclock "12:20 PM, Feb 14, 1992"
  21.